import { ajax } from "../utils/request";
import '../mock/mycourse'

// 获取全部课程数据
export function getCourseData(data) {
    return ajax({
        url: "/getcoursedata",
        method:'post',
        data
    });
}
// 评价学生
export function getStudentEstimate(data) {
    return ajax({
        url: "/getstudentestimate",
        method:'post',
        data
    });
}
// 评价学生
export function getViewFeedback(data) {
    return ajax({
        url: "/getviewfeedback",
        method:'post',
        data
    });
}
// 空闲时间
export function getFreeTimedata(data) {
    return ajax({
        url: "/getfreetimedata",
        method:'post',
        data
    });
}